package com.cgi.ndk.wf.pack;

import java.util.List;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.data.repository.query.Param;

/**
 *
 * @author brizat
 */
//@RepositoryRestResource(collectionResourceRel = "package", path = "package" )
public interface PackageRepository extends MongoRepository<Package, String>{

    List<Package> findByIsbn(@Param("isbn") String isbn);
    
    List<Package> findByUuid(@Param("uuid") String uuid);
    
}
